package com.example.yurun_smartmerchants

import androidx.appcompat.app.AppCompatActivity

//import io.flutter.embedding.android.FlutterActivity
//import io.flutter.embedding.engine.FlutterEngine
//import io.flutter.plugin.common.MethodChannel

class MainActivity2 : AppCompatActivity() {

//    override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
//        super.configureFlutterEngine(flutterEngine)
//        val channel = "flutter/bridge"
//        val methodChannel = MethodChannel(flutterEngine.dartExecutor, channel)
//        methodChannel.setMethodCallHandler { call, result ->
//            if (call.method == "getMsg") {
//                result.success(getMsg())
//            } else {
//                result.notImplemented()
//            }
//        }
//    }
//    private fun getMsg(): String {
//        return "I am from Android"
//    }
}
